package com.zero.business.member.mapper;

import com.zero.domain.Member;
import org.apache.ibatis.annotations.Mapper;

@Mapper  // @Mapper：将注释的资源放入spring容器，加了该注解，就不用在启动类上加 @MapperScan 注解了
public interface MemberMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(Member record);

    int insertSelective(Member record);

    Member selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(Member record);

    int updateByPrimaryKey(Member record);
}
